<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%customer_info_cate}}".
 *
 * @property integer $id
 * @property string $cate_name
 */
class CustomerInfoCate extends \app\components\AppActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'customer_info_cate';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['cate_name'], 'required'],
            [['cate_name'], 'string', 'max' => 100],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'cate_name' => 'Cate Name',
        ];
    }
}
